<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<!DOCTYPE html>
<html>

<head>
    <base href="<%=basePath%>"/>
    <title>襄阳蓝芯智能化办公系统</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" type="text/css" href="view/bootstrap-3.3.5/css/bootstrap.css" />
    <link rel="stylesheet" type="text/css" href="view/bootstrapvalidator/css/bootstrapValidator.css" />
    <script charset="utf-8" src="view/jquery/jquery-1.10.2.min.js"></script>
    <script charset="utf-8" src="view/bootstrap-3.3.5/js/bootstrap.js"></script>
    <script charset="utf-8" src="view/bootstrapvalidator/js/bootstrapValidator.js"></script>
</head>
<body>

<div class="panel panel-primary">

    <div class="panel-heading">
        <h4 class="panel-title">我的权限</h4>
    </div>

    <div class="panel-body">
        <c:forEach items="${functionList}" var="myfun">
            <c:forEach items="${myfun.qxRoles}" var="f">
                <div class="col-md-12">
                    <c:forEach items="${f.functions}" var="fc">
                        <h3>
                           <div class="col-md-2">
                               <label class="label" style="background-color: #2aabd2">${fc.functionName}</label>
                               <br><br>
                           </div>
                        </h3>
                    </c:forEach>
                </div>
            </c:forEach>
        </c:forEach>
    </div>

</div>

</body>
</html>
